﻿using System;

namespace SfsTools.Core
{
    /// <summary>
    /// Specifies the known index area entry types.
    /// </summary>
    public enum IndexAreaEntryType : byte
    {
        /// <summary>
        /// Unknown entry type.
        /// </summary>
        Unknown = 0,
        /// <summary>
        /// Volume identifier.
        /// </summary>
        VolumeIdentifier = 1,
        /// <summary>
        /// Marks the start of the index area.
        /// </summary>
        StartingMarker = 2,
        /// <summary>
        /// Unused entry.
        /// </summary>
        Unused = 0x10,
        /// <summary>
        /// Directory.
        /// </summary>
        PresentDirectory = 0x11,
        /// <summary>
        /// File.
        /// </summary>
        PresentFile = 0x12,
        /// <summary>
        /// Bad blocks or other unusable areas of the volume.
        /// </summary>
        BadSector = 0x18,
        /// <summary>
        /// Deleted directory.
        /// </summary>
        DeletedDirectory = 0x19,
        /// <summary>
        /// Deleted file.
        /// </summary>
        DeletedFile = 0x1A,
        /// <summary>
        /// Continuation entry.
        /// </summary>
        Continuation = 0x20
    }
}
